<?php
namespace M\Model;
use Think\Model;
class CodeModel extends Model{
    protected $_validate=array(
        array('phonenumber','','手机号码已经存在！',0,'unique',1),
    );
}